package edu.sdjzu.exam.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class CourseCreateDTO {
    @NotBlank(message = "课程名称不能为空")
    private String courseName;
    
    @NotBlank(message = "课程代码不能为空")
    private String courseCode;
    
    private String description;
    
    @NotBlank(message = "学科不能为空")
    private String subject;
}